package com.infocollect.project.api.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public class ControlOptionsReq {
    @ApiModelProperty("数据库保存字段")
    public String filed;
    @ApiModelProperty("数据保存长度")
    public  Integer dataLength;
    @ApiModelProperty("控件ID")
    public String controlId;
    @ApiModelProperty("控件类型")
    public String modeltype;
    @ApiModelProperty("如果是列表控件 对应显示列的集合")
    private List<FormListViewControlReq> columns;
    @ApiModelProperty("下拉列表是否多选")
    public Boolean isMulty;
    @ApiModelProperty("下拉列表，多选，单选的选项")
    public  List<String> options;

    @ApiModelProperty("数据源ID")
    public String sourceApi;
    @ApiModelProperty("是否远程Api接口请求")
    public boolean isRemote;
}
